package com.ztrue.framework.disruptor.event;

import com.lmax.disruptor.EventFactory;
import com.ztrue.framework.core.event.DomainEventMessage;

/**
 * 領域事件消息生成工厂
 *
 * @author zhangw
 * @date 2016/11/29 22:15
 * @version: 1.0
 */
public class DomainEventMessageFactory implements EventFactory<DomainEventMessage> {

    @Override
    public DomainEventMessage newInstance() {
        return new DomainEventMessage();
    }
}
